﻿using System;
using System.Collections.Generic;

namespace Survey.Model.EntriesEntities
{
    public class Teacher
    {
        public Teacher() 
        {
            Id = Guid.NewGuid();
        }
        
        public virtual Guid Id { get; private set; }
        public virtual String Name { get; set; }
        public virtual int MatterTaught {get; set;}
        public virtual int WorkPeriod { get; set; }
        public virtual String Phone {get; set;}
        public virtual String Email { get; set; }
        public virtual School School { get; set; }

        private IList<StudentClass> _studentClasses = new List<StudentClass>();
        public virtual IList<StudentClass> StudentClass 
        { 
            get { return _studentClasses; }
            set { _studentClasses = value; }
        }
    }
}
